package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 用户风格
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class JbdpUserUi extends Model<JbdpUserUi> {

    private static final long serialVersionUID=1L;

    /**
     * 用户风格定义ID
     */
    @TableId("UI_ID")
    private String uiId;

    /**
     * 用户主键
     */
    @TableField("USER_ID")
    private String userId;

    /**
     * 风格类型
     */
    @TableField("STYLE_TYPE")
    private String styleType;

    /**
     * 布局
     */
    @TableField("LAYOUT")
    private String layout;


    public String getUiId() {
        return uiId;
    }

    public JbdpUserUi setUiId(String uiId) {
        this.uiId = uiId;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public JbdpUserUi setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getStyleType() {
        return styleType;
    }

    public JbdpUserUi setStyleType(String styleType) {
        this.styleType = styleType;
        return this;
    }

    public String getLayout() {
        return layout;
    }

    public JbdpUserUi setLayout(String layout) {
        this.layout = layout;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.uiId;
    }

    @Override
    public String toString() {
        return "JbdpUserUi{" +
        "uiId=" + uiId +
        ", userId=" + userId +
        ", styleType=" + styleType +
        ", layout=" + layout +
        "}";
    }
}
